package com.sense.sensedialprehandle;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@MapperScan("com.sense.sensedialprehandle.mapper")
@SpringBootApplication
public class SenseDialPreHandleApplication extends SpringBootServletInitializer{

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder springApplicationBuilder){
        return springApplicationBuilder.sources(SenseDialPreHandleApplication.class);
    }

    public static void main(String[] args) {
        SpringApplication.run(SenseDialPreHandleApplication.class, args);
    }

}
